package com.qinglei.recoup.system.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@ApiModel(description = "实时数据对象")
@Data
public class RealTimeDataVO implements Serializable {
    @ApiModelProperty("状态 1-监测正常 2-离床 3-监测仪离线 4-监测关闭")
    private Integer status;

    @ApiModelProperty("子状态 监测正常状态 1-清醒 2-浅睡 3-深睡")
    private Integer subStatus;

    @ApiModelProperty("心跳频率 次/分钟")
    private Integer heartBpm;

    @ApiModelProperty("呼吸频率 次/分钟")
    private Integer breathBpm;

    @ApiModelProperty("心跳相位数据，20s的数据200个点")
    private List<Integer> heartPhaseData;



    @ApiModelProperty("呼吸相位数据，20s的数据200个点")
    private List<Integer> breathPhaseData;

    @ApiModelProperty("离床持续时间 单位秒")
    private Integer duration;

    @ApiModelProperty("是否离床报警")
    private boolean isOutBedAlarm;

    private long frameNo;

    @ApiModelProperty(value = "监测仪是否在线 1-在线 0-离线")
    private Integer isRadarOnline;

}
